
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.Task;
import cn.edu.scau.cmi.hombio.domain.TaskIntervalCycle;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for TaskIntervalCycle entities
 * 
 */
public interface TaskIntervalCycleService {

	/**
	* Delete an existing Task entity
	* 
	 */
	public TaskIntervalCycle deleteTaskIntervalCycleTask(Integer taskintervalcycle_id, Integer related_task_id);

	/**
	* Save an existing Task entity
	* 
	 */
	public TaskIntervalCycle saveTaskIntervalCycleTask(Integer id, Task related_task);

	/**
	* Return a count of all TaskIntervalCycle entity
	* 
	 */
	public Integer countTaskIntervalCycles();

	/**
	* Save an existing TaskIntervalCycle entity
	* 
	 */
	public void saveTaskIntervalCycle(TaskIntervalCycle taskintervalcycle);

	/**
	* Load an existing TaskIntervalCycle entity
	* 
	 */
	public Set<TaskIntervalCycle> loadTaskIntervalCycles();

	/**
	* Delete an existing TaskIntervalCycle entity
	* 
	 */
	public void deleteTaskIntervalCycle(TaskIntervalCycle taskintervalcycle_1);

	/**
	* Return all TaskIntervalCycle entity
	* 
	 */
	public List<TaskIntervalCycle> findAllTaskIntervalCycles(Integer startResult, Integer maxRows);

	/**
	 */
	public TaskIntervalCycle findTaskIntervalCycleByPrimaryKey(Integer id_1);
}